import init from '@feidao/web/framework/browser/d/component';

import s from './s';

import { id } from './config';
import * as params from './config';

////////////////////////////////////////////////////////////////////////////////
// import actions
import a000 from './a000';
import a002 from './a002';
import a003 from './a003';
import a004 from './a004';
import a031 from './a031';
import a032 from './a032';
import a033 from './a033';
import a041 from './a041';
import a042 from './a042';
import a043 from './a043';
import a051 from './a051';
import a052 from './a052';
import a053 from './a053';
import a071 from './a071';
import a072 from './a072';
import a081 from './a081';
import a082 from './a082';
import a083 from './a083';
import a091 from './a091';
import a092 from './a092';
import a100 from './a100';
import a101 from './a101';
import a102 from './a102';
import a103 from './a103';
import a104 from './a104';
import a105 from './a105';
import a106 from './a106';
import a107 from './a107';
import a108 from './a108';

////////////////////////////////////////////////////////////////////////////////

const actions = { a000, a002, a003, a004, a031, a032, a033, a041, a042, a043, a051, a052, a053, a071, a072, a081, a082, a083, a091, a092, a100, a101, a102, a103, a104, a105, a106, a107, a108 };

export default function main(url: string, query: any) {
	return init(id, s, actions, url, query, params);
}
